package org.gd.hellojaxb.acquiring;


import javax.xml.bind.annotation.*;

/**
 * @author Gorhover
 */
@XmlRootElement(name = "magazine")
@XmlAccessorType(XmlAccessType.FIELD)
public class Magazine implements Model {

    @XmlAttribute
    private String city;
    @XmlAttribute
    private String street;
    @XmlAttribute
    private String build;
    @XmlAttribute
    private Integer terminalCount;

    public Magazine() {
    }

    public String getCity() {
        return city;
    }

    public Magazine setCity(String city) {
        this.city = city;
        return this;
    }

    public String getStreet() {
        return street;
    }

    public Magazine setStreet(String street) {
        this.street = street;
        return this;
    }

    public String getBuild() {
        return build;
    }

    public Magazine setBuild(String build) {
        this.build = build;
        return this;
    }

    public Integer getTerminalCount() {
        return terminalCount;
    }

    public Magazine setTerminalCount(Integer terminalCount) {
        this.terminalCount = terminalCount;
        return this;
    }
}
